package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.OtherExpense;

public interface OtherExpenseService {
	public void saveOrUpdateOtherExpense(OtherExpense otherExpense) throws Exception;
	public void saveOtherExpense(OtherExpense otherExpense) throws Exception;
	public void deleteOtherExpense(OtherExpense otherExpense) throws Exception;
	// 根据其他费用ID查询该其他费用
	public OtherExpense getOtherExpenseByOtherExpenseID(String oeID) throws Exception;    
	// 查询所有其他费用
	public List<OtherExpense> getAllOtherExpenseByCondition(String hql) throws Exception;
	// 查询所有其他费用，分页显示
	public List<OtherExpense> getAllOtherExpenseByConditionByPage(String hql, int currentPage, int lineSize) throws Exception;
	// 其他费用数
	public int getCountOfOtherExpenseByCondition(String hql) throws Exception;

}
